package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysContractRefund;

/**
 * 合同退费列Mapper接口
 *
 * @author ruoyi
 * @date 2025-06-29
 */
public interface SysContractRefundMapper
{
    /**
     * 查询合同退费列
     *
     * @param id 合同退费列主键
     * @return 合同退费列
     */
    public SysContractRefund selectSysContractRefundById(Long id);

    /**
     * 查询合同退费列列表
     *
     * @param sysContractRefund 合同退费列
     * @return 合同退费列集合
     */
    public List<SysContractRefund> selectSysContractRefundList(SysContractRefund sysContractRefund);

    /**
     * 新增合同退费列
     *
     * @param sysContractRefund 合同退费列
     * @return 结果
     */
    public int insertSysContractRefund(SysContractRefund sysContractRefund);

    /**
     * 修改合同退费列
     *
     * @param sysContractRefund 合同退费列
     * @return 结果
     */
    public int updateSysContractRefund(SysContractRefund sysContractRefund);

    /**
     * 根据日期查询
     * @param date
     * @return
     */
    public String selectContractRefundByDate(String date);

    /**
     * 删除合同退费列
     *
     * @param id 合同退费列主键
     * @return 结果
     */
    public int deleteSysContractRefundById(Long id);

    /**
     * 批量删除合同退费列
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysContractRefundByIds(Long[] ids);
}